:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', system-ui;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.health-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.status-good { background: #d4edda; color: #155724; }
.status-normal { background: #fff3cd; color: #856404; }
.status-bad { background: #f8d7da; color: #721c24; }
.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* 深色模式自定义样式 */
html[data-theme="dark"] {
    --bs-body-bg: #121212;
    --bs-body-color: #e0e0e0;
}
html[data-theme="dark"] .navbar {
    background-color: #0d47a1;
}
html[data-theme="dark"] .card {
    background-color: #1e1e1e;
    color: #e0e0e0;
}
html[data-theme="dark"] .card-header {
    background-color: #37474f;
}
html[data-theme="dark"] .table-light {
    background-color: #2d2d2d !important;
}
html[data-theme="dark"] .footer {
    background-color: #1e1e1e;
    border-color: #333;
}
html[data-theme="dark"] .text-muted {
    color: #757575 !important;
}